package nc.itf.pub;



/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class ISerialNumber_Local extends nc.bs.mw.naming.BeanBase
    implements nc.itf.pub.ISerialNumberEjbObject {
   
  public ISerialNumber_Local() {
	super();
  }

  private nc.itf.pub.ISerialNumberEjbBean _getBeanObject() throws java.rmi.RemoteException {
    return (nc.itf.pub.ISerialNumberEjbBean) getEjb();
  }

  public nc.vo.eh.ehld.z105501.SaleEvaluateVO getPrice(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getPrice$String_arg0$String_arg1$String_arg2    );
    Exception er = null;
	nc.vo.eh.ehld.z105501.SaleEvaluateVO o = null;
	try{
				o = (nc.vo.eh.ehld.z105501.SaleEvaluateVO)_getBeanObject().getPrice(arg0 ,arg1  ,arg2 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getPrice$String_arg0$String_arg1$String_arg2, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public nc.vo.eh.ehld.z105501.SaleEvaluateVO getPrice(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2  ,java.lang.String arg3 ) throws java.lang.Exception{
    beforeCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getPrice$String_arg0$String_arg1$String_arg2$String_arg3    );
    Exception er = null;
	nc.vo.eh.ehld.z105501.SaleEvaluateVO o = null;
	try{
				o = (nc.vo.eh.ehld.z105501.SaleEvaluateVO)_getBeanObject().getPrice(arg0 ,arg1  ,arg2  ,arg3 );			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getPrice$String_arg0$String_arg1$String_arg2$String_arg3, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public nc.vo.pub.AggregatedValueObject getZuojiaByYuDingDan(java.lang.String arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getZuojiaByYuDingDan$String_arg0    );
    Exception er = null;
	nc.vo.pub.AggregatedValueObject o = null;
	try{
				o = (nc.vo.pub.AggregatedValueObject)_getBeanObject().getZuojiaByYuDingDan(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getZuojiaByYuDingDan$String_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
  public nc.vo.pub.AggregatedValueObject getZuojiaWhenQijianChanged(nc.vo.pub.AggregatedValueObject arg0) throws java.lang.Exception{
    beforeCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getZuojiaWhenQijianChanged$AggregatedValueObject_arg0    );
    Exception er = null;
	nc.vo.pub.AggregatedValueObject o = null;
	try{
				o = (nc.vo.pub.AggregatedValueObject)_getBeanObject().getZuojiaWhenQijianChanged(arg0);			
	}
	catch(Exception e){
		er = e;
	} catch(Throwable thr) {
		  nc.bs.logging.Logger.error("HGY:Unexpected error, tx will rb", thr);	  
		  er = new nc.bs.framework.exception.FrameworkEJBException("Fatal unknown error", thr);
	}
	try{
		afterCallMethod(nc.itf.pub.ISerialNumber_Method_Const_Local.Method_getZuojiaWhenQijianChanged$AggregatedValueObject_arg0, er);
 	}
	catch(java.rmi.RemoteException remoteException){
		nc.bs.logging.Logger.error("HGY: Unexpected error when call afterCallMethod",  remoteException);
	} finally {
			}
	if( null != er ){
    	if( er instanceof java.lang.Exception ){
    		throw (java.lang.Exception)er;
    	}    

	if(er instanceof RuntimeException)
		throw (RuntimeException)er;
	else	
		throw new nc.bs.framework.exception.FrameworkEJBException(er.getMessage(),er);
	}
	return o;
 }
}